package com.spddr.pmos.cxf;

import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;

import com.spddr.pmos.jpa.Metric;
import com.spddr.pmos.jpa.ObjectType;

import cn.seqdata.cxf.repos.JaxrsTypeRepository;

@Path("/object/type")
public interface JaxrsObjectType extends JaxrsTypeRepository<ObjectType> {
	@GET
	@Path("/{clz}/metrics")
	List<Metric> findMetrics(@PathParam("clz") String clz);
}
